package cn.sq.musicserver.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author SQ
 * @since 2020-12-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SQ_User")
@ApiModel(value="SqUser对象", description="")
public class SqUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "UserUUID",type = IdType.ASSIGN_UUID)
    private String UserUUID;

    @TableField("UserName")
    private String UserName;

    @TableField("UserEmail")
    private String UserEmail;

    @TableField("UserPassword")
    private String UserPassword;

    private String locked;

    @TableField("UserPhoto")
    private String UserPhoto;

    @TableField("Usersalt")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String Usersalt;


}
